package com.slg.android.manyanime.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.slg.android.manyanime.MyNoticeListActivity;
import com.slg.android.manyanime.R;
public class MessageFragment extends Fragment implements View.OnClickListener {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View ret = inflater.inflate(R.layout.fragment_message, container, false);

        View view = ret.findViewById(R.id.message_fragment_my_message);
        view.setOnClickListener(this);
        return ret;

    }



    @Override
    public void onDetach() {
        super.onDetach();
    }


    @Override
    public void onClick(View v) {
        Intent intent = new Intent(getActivity(),MyNoticeListActivity.class);
        startActivity(intent);
    }
}
